﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ETL.Entity;

namespace ETL.Business.Models
{
    public class ProjectTimeModel
    {
        private project_times projectTimes;

        public ProjectTimeModel(project_times projectTimes)
        {
            this.projectTimes = projectTimes;
        }

        public int TimeId { get { return projectTimes.time_ref; } }
        public short? ProjectId { get { return projectTimes.time_project; } }
        public short? CategoryId { get { return projectTimes.time_category; } }
        public short? TaskId { get { return projectTimes.time_task_id; } }
        public string UserId { get { return projectTimes.time_user_id; } }
        public string Reason { get { return projectTimes.time_reason; } }
        public DateTime? TimeStart { get { return projectTimes.time_start; } }
        public float? TimeHours { get { return projectTimes.time_hours; } }
    }
}
